﻿using System;
using System.Collections.Generic;

namespace DongFangGuoKai.WMSPlatform.Domain.Models
{
    /// <summary>
    /// 物料
    /// </summary>
    public partial class TMaterial
    {
        /// <summary>
        /// 物料Id
        /// </summary>
        public int Id { get; set; }
        public string? Code { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string Name { get; set; } = null!;
        /// <summary>
        /// 型号规格
        /// </summary>
        public string? ModelSpec { get; set; }
        /// <summary>
        /// 货主Id
        /// </summary>
        public int? OwnerId { get; set; }
        public string? OwnerName { get; set; }
        /// <summary>
        /// 物料类型Id
        /// </summary>
        public int? TypeId { get; set; }
        public string? TypeCode { get; set; }
        /// <summary>
        /// 物料类型
        /// </summary>
        public string? TypeName { get; set; }
        public string? FullTypeIds { get; set; }
        public string? FullTypeNames { get; set; }
        /// <summary>
        /// 基本单位Id
        /// </summary>
        public int? UnitId { get; set; }
        /// <summary>
        /// 基本单位
        /// </summary>
        public string? UnitName { get; set; }
        /// <summary>
        /// 毛重
        /// </summary>
        public decimal? GrossWeight { get; set; }
        /// <summary>
        /// 净重
        /// </summary>
        public decimal? NetWeight { get; set; }
        /// <summary>
        /// 毛重重量单位Id
        /// </summary>
        public int? GrossWeightUnitId { get; set; }
        /// <summary>
        /// 毛重重量单位
        /// </summary>
        public string? GrossWeightUnitName { get; set; }
        /// <summary>
        /// 净重重量单位Id
        /// </summary>
        public int? NetWeightUnitId { get; set; }
        /// <summary>
        /// 净重重量单位
        /// </summary>
        public string? NetWeightUnitName { get; set; }
        /// <summary>
        /// 体积
        /// </summary>
        public decimal? Volum { get; set; }
        /// <summary>
        /// 体积单位Id
        /// </summary>
        public int? VolumUnitId { get; set; }
        /// <summary>
        /// 体积单位
        /// </summary>
        public string? VolumUnitName { get; set; }
        /// <summary>
        /// 最小安全库存
        /// </summary>
        public int? MinSafetyStock { get; set; }
        /// <summary>
        /// 最大安全库存
        /// </summary>
        public int? MaxSafetyStock { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 创建人Id
        /// </summary>
        public int? CreateUserId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateUserName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 修改用户Id
        /// </summary>
        public int? ModifyUserId { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? ModifyUserName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyDate { get; set; }
        public string? Img { get; set; }
        public int? MaterialCategoryId { get; set; }
        public bool? HasSkuDetail { get; set; }
        public int? MaterialGroupId { get; set; }
        public bool? IsNeedCharging { get; set; }
        public int? ExpirationMonth { get; set; }
        public string? MaterialCategoryName { get; set; }
        public bool? IsDismantle { get; set; }
    }
}
